package command;

public class Util {
	/**
	 * Get the extension for a file name
	 * @param fileName
	 * @return
	 */
	public static String getFileExtention(String fileName) {
		
		String extention = fileName.substring(fileName.lastIndexOf(".")+1);
		return extention;
	}
	
	public static void main(String[] args) {
		System.out.println(getFileExtention("asd.java"));
	}
}
